package com.itheima.stock.common.domian;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: siwukun
 * @date: 2022/06/07
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class StockWeekLineDomain {

            private BigDecimal avgPrice; //一周内平均价
            private BigDecimal minPrice; //一周内最低价
            private BigDecimal openPrice; //周一开盘价
            private BigDecimal maxPrice; //一周内最高价
            private BigDecimal closePrice; //周五收盘价（如果当前日期不到周五，则显示最新价格）
            private Date mxTime; //一周内最大时间
            private String stockCode; //股票编码
}
